package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网关采集周期对象 sys_gateway_cycle
 * 
 * @author ruoyi
 * @date 2024-09-30
 */
public class SysGatewayCycle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 网关id */
    private String gatewayId;

    /** 采集周期 1=每小时 2=每三小时 3=每6小时 4=每12小时 5=每天 */
    @Excel(name = "采集周期 1=每小时 2=每三小时 3=每6小时 4=每12小时 5=每天")
    private String collectCycle;

    public void setGatewayId(String gatewayId)
    {
        this.gatewayId = gatewayId;
    }

    public String getGatewayId()
    {
        return gatewayId;
    }
    public void setCollectCycle(String collectCycle) 
    {
        this.collectCycle = collectCycle;
    }

    public String getCollectCycle() 
    {
        return collectCycle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gatewayId", getGatewayId())
            .append("collectCycle", getCollectCycle())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
